-
-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix non-text content using own_window_argb_value
#2105
Conversation
Signed-off-by: Tin Švagelj <[email protected]>
✅ Deploy Preview for conkyweb canceled.
|
#ifdef BUILD_ARGB | ||
current_color.alpha = own_window_argb_value.get(*state); | ||
#endif /* BUILD_ARGB */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Transparent bars caused by this.
cairo_set_operator(window->cr, CAIRO_OPERATOR_SOURCE); | ||
cairo_paint(window->cr); | ||
cairo_set_operator(window->cr, CAIRO_OPERATOR_CLEAR); | ||
cairo_rectangle(window->cr, 0, 0, window->rectangle.width(), | ||
window->rectangle.height()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems more correct - SO answer.
Resetting to OVER
isn't needed because of cairo_restore
.
own_window_argb_value
#2127 fixes omission of |
Closes #1504.
own_window_argb_value
shouldn't control content color.Also fixed
clear_text
using a wrong cairo operator.Tested on hyprland.